#!python

import socket
import os
import re


def Socket():
    fd = socket(AF_INET,SOCK_STREAM, 0)
    addr = ("10.10.50.133",8332)
    fd.connect(addr)
    fd.sendto("{\"jsonrpc\":\"2.0\",\
            \"method\":\"getCounters\",\
            \"params\":{\"sql\":\"select * from tables\"},\"id\":13}",addr)
    fd.read
    return fd
